package com.shop.cereshop.commons.tencent.moderation.service;

import com.shop.cereshop.commons.tencent.moderation.domain.request.ImageModerationParam;
import com.shop.cereshop.commons.tencent.moderation.domain.response.ModerationResult;

import java.util.List;
import java.util.concurrent.CompletableFuture;

/**
 * @description: 腾讯云图片审核服务接口
 * @author zdd
 * @date 2025/10/26 15:19
 * @version 1.0
 */
public interface ImageModerationService {

    /**
     * 图片审核
     * @param param 审核参数
     * return 审核结果
     */
    ModerationResult moderateImage(ImageModerationParam param);

    /**
     * 批量图片审核
     * @param params 批量审核参数
     * return 批量审核结果
     */
    List<ModerationResult> batchModerateImages(List<ImageModerationParam> params);

    /**
     * 异步图片审核
     * @param param 审核参数
     * return 审核结果的CompletableFuture
     */
    CompletableFuture<ModerationResult> moderateImageAsync(ImageModerationParam param);

}
